﻿using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Windows.Admin.Contract.User.Model
{
    [ProtoContract]
    public class UserResponse
    {
        [ProtoMember(1)]
        public long Id { get; set; }
        [ProtoMember(2)]
        public string UserName { get; set; } = "";
        [ProtoMember(3)]
        public string Name { get; set; } = "";
        [ProtoMember(4)]
        public string? MobilePhone { get; set; }
        [ProtoMember(5)]
        public string? Email { get; set; }
        [ProtoMember(6)]
        public bool IsEnable { get; set; } = false;
        [ProtoMember(7)]
        public bool IsAdmin { get; set; } = false;
        [ProtoMember(8)]
        public string[]? Licenses { get; set; } 

    }
}
